﻿using System.Threading.Tasks;
using KL.UFrame.Data.Entities;

namespace KL.UFrame.Data.Business
{
    public interface IEmailBusiness
    {
        Task<int> CreateDbEmailAsync(EmailRecord email);
        Task<int> SendVerifyCodeAsync(string recipients, string code);

        Task<int> SendVerifyCodeAsync(string recipients);

        string GetValidateCode(string recipients);
    }
}